package com.cat.model.common.model.common;

import com.cat.model.common.model.base.ModelBaseVOLong;

/**
 * */
public class UserTokenVO extends ModelBaseVOLong{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8136197189679198487L;
	private String token;
	private Long userId;
	private Long tokenExpire;
	private String refreshToken;
	private Long refreshTokenExpire;
	private String deviceId;
	
	@Override
	protected String table() {
		return "user_token";
	}
	
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public Long getTokenExpire() {
		return tokenExpire;
	}
	public void setTokenExpire(Long tokenExpire) {
		this.tokenExpire = tokenExpire;
	}
	public String getRefreshToken() {
		return refreshToken;
	}
	public void setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken;
	}
	public Long getRefreshTokenExpire() {
		return refreshTokenExpire;
	}
	public void setRefreshTokenExpire(Long refreshTokenExpire) {
		this.refreshTokenExpire = refreshTokenExpire;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	
}
